import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import useUserStore from '@/stores/modules/user';
import useCommentStore from '@/stores/modules/comment';
import useWebConfigStore from '@/stores/modules/webconfig';

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

export { useUserStore,useCommentStore,useWebConfigStore };

export default pinia;
